module.exports = {
  devServer: {
    proxy: {
      // 配置跨域
      '/api': {
        target: 'https://lottery.qnsyw.cn',
        ws: true,
        changOrigin: true,
        pathRewrite: {
          '^/api': '',
        },
      },
    },
  },
};
